package com.bs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bs.entity.ClockInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface ClockInfoMapper extends BaseMapper<ClockInfo> {
    List<HashMap<String, String>> getListByMonth(@Param(value = "id") Integer id);
    Integer selectClock();
    Integer selectPwd();
    Integer selectDuration();
    void changClockSys(@Param(value = "flag") Boolean flag);

    void changePasswordSys(@Param(value = "flag") Boolean flag);

    boolean changeDuration(@Param(value = "duration") Integer duration);
}
